package bb.lanxing.adapter;

import android.widget.BaseAdapter;

public abstract class LoadMoreAdapter extends BaseAdapter {
    protected OnLoadEndListener onLoadEndListener;
    protected boolean loadingMore = false;
    protected boolean loadMoreEnabled = false;

    public void setOnLoadEndListener(OnLoadEndListener onLoadEndListener) {
        this.onLoadEndListener = onLoadEndListener;
    }

    public void setLoadingMoreFinished() {
        this.loadingMore = false;
    }

    public void setLoadMoreEnabled(boolean z) {
        this.loadMoreEnabled = z;
    }
}
